package fr.generali.sas.service.v1_0;

import java.util.concurrent.Callable;


public abstract class FluxServiceCallable implements Callable<Object> {
	
	protected String codeIntermediaire;
	protected String idClient;
	protected String codePortefeuille;
	protected String numeroReservation;
	
		
	
	public String getCodeIntermediaire() {
		return codeIntermediaire;
	}


	public String getIdClient() {
		return idClient;
	}


	public void setIdClient(String idClient) {
		this.idClient = idClient;
	}


	public String getCodePortefeuille() {
		return codePortefeuille;
	}


	public void setCodePortefeuille(String codePortefeuille) {
		this.codePortefeuille = codePortefeuille;
	}


	public String getNumeroReservation() {
		return numeroReservation;
	}


	public void setNumeroReservation(String numeroReservation) {
		this.numeroReservation = numeroReservation;
	}


	public void setCodeIntermediaire(String codeIntermediaire) {
		this.codeIntermediaire = codeIntermediaire;
	}
	
	
	public Object call() throws Exception {
		return service();
	}


	protected abstract Object service() throws Exception;
	
	

}
